<?php
/**
 * Note: *
 */
namespace App\Models\Game\Center;

use App\Traits\ModelTrait;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class AppNews extends Base
{
    use ModelTrait;

    protected $table = 'app_news';

    protected $fillable = [
        'title',
        'content',
        'time',
        'manager_id',
    ];

    /**
     * @return BelongsTo
     */
    public function manager(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(\App\Models\Manager::class);
    }
}
